#include "StdAfx.h"

#include "ManagedPosition.hpp"

using namespace System;
using namespace BWAPI::Managed;

Position::Position(BWAPI::Position &Position)
		: m_x(Position.x()), m_y(Position.y()) {
}

Position::Position(int x, int y) : m_x(x), m_y(y) {
}

int Position::x::get(void) {
	return m_x;
}

void Position::x::set(int NewValue) {
	m_x = NewValue;
}

int Position::y::get(void) {
	return m_y;
}

void Position::y::set(int NewValue) {
	m_y = NewValue;
}